matrix — Convert to Matrix


\begin{rail}
Matrix : 'matrix' '(' ( () \vert Scalar \vert Matrix \vert String ) ')' ;
\end{rail}
The matrix function attempts to convert its argument to a matrix. If you pass no arguments, you get an empty matrix back. If you pass a scalar or string argument, you get back a one element matrix with the argument as that element. If you pass a matrix argument, you just get that matrix back.

Subsections